﻿#include "plugininterface.h"
#include "pipelineunstack.h"
#include "pipelinestack.h"
#include "pipelineunstack.h"

PluginInterface::PluginInterface(QObject* parent)
	: QObject(parent)
{}

PluginInterface::~PluginInterface()
{}

Pipeline* PluginInterface::CreatePipeline(PipelineType type)
{
	switch (type) {
	case PipelineType::pipeline_stack:
		return new PipelineStack();
		break;
	case PipelineType::pipeline_unstack:
		return new PipelineUnstack();
		break;
	case PipelineType::pipeline_unstckToStack:
		break;

	default:
		break;
	}

	return nullptr;
}

